/*
 * view_image.cpp
 *
 *  Created on: May 27, 2009
 *      Author: andrei
 */

#include "highgui.h"

void view_image()
{
    IplImage* img = cvLoadImage("baboon.jpg");
    cvNamedWindow( "Example1", CV_WINDOW_AUTOSIZE );
    cvShowImage( "Example1", img );
    cvWaitKey(0);
    cvReleaseImage( &img );
    cvDestroyWindow( "Example1" );
}
